<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="description" content="Erp Management System" />
    <meta name="keywords" content="erp" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
    />
    <!-- 由 vite 注入 VITE_APP_TITLE 变量，在 .env 文件内配置 -->
    <title><%= VITE_APP_TITLE %></title>
    <link rel="icon" href="/favicon.ico" />
    <script></script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <script type="text/javascript">
      (function () {
        var ua = navigator.userAgent.toLocaleLowerCase();
        var browserType = '',
          browserVersion = '';
        if (ua.match(/msie/) != null || ua.match(/trident/) != null) {
          browserType = 'IE';
          browserVersion =
            ua.match(/msie ([\d.]+)/) != null
              ? ua.match(/msie ([\d.]+)/)[1]
              : ua.match(/rv:([\d.]+)/)[1];
          if (1 * browserVersion < 12) {
            alert('请在ie11版本浏览器上使用系统');
          }
        }
      })();
    </script>
  </body>
</html>
